package com.qk.service;

import com.qk.common.PageResult;
import com.qk.entity.Activity;

import java.util.List;

public interface ActivityService {
    PageResult<Activity> getActivity(Integer channel, Integer type, Integer status, Integer page, Integer pageSize);

    void add(Activity activity);

    void deleteById(Integer id);

    Activity getById(Integer id);

    List<Activity> getByType(Integer type);

    void update(Activity activity);
}
